package com.imooc.o2o.entity;

import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;

@Data
@Entity
@Table(name = "tb_wechat_auth")
public class WechatAuth implements Serializable {

	@Column(name = "wechat_auth_id")
	private Integer wechatAuthId;

	@Column(name = "open_id")
	private String openId;

	@Column(name = "create_time")
	private java.util.Date createTime;
	//	@Column(name = "user_id")
//	private Integer userId;
	private PersonInfo personInfo;

}
